package com.itheima.health.dao;

import com.itheima.health.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;
import java.util.Date;
public interface OrderSettingDao extends Mapper<OrderSetting> {
    /**
       * @Author: 传闻中的梁大侠 
       * @Date: 15:15 2021/3/5
       * @Parms [orderDate]
       * @ReturnType: com.itheima.health.pojo.OrderSetting
       * @Description: 根据日期查询当天能否预约信息
     */
    @Select("SELECT * FROM t_ordersetting WHERE orderDate = #{orderDate}")
    OrderSetting selectByDate(@Param("orderDate") Date orderDate);
}
